package org.easymis.entitys.mybatis.mapper;

import java.util.List;

import org.easymis.entitys.mybatis.dto.UnifiedUser;

public interface UnifiedUserMapper {
	public UnifiedUser getByUsername(String username);

	public UnifiedUser getBySignature(String token) ;
	public List<UnifiedUser> getByEmail(String email);

	public int countByEmail(String email);

	public List<UnifiedUser> getList();

	public UnifiedUser findById(String id);

	public void save(UnifiedUser bean);

	public void update(UnifiedUser bean);

	public UnifiedUser deleteById(String id);
}